import request from '@/utils/request'

// 查询testteambuild列表
export function listTestteam(query) {
  return request({
    url: '/monitormanage/testteam/list',
    method: 'get',
    params: query
  })
}

// 查询testteambuild详细
export function getTestteam(id) {
  return request({
    url: '/monitormanage/testteam/' + id,
    method: 'get'
  })
}

// 新增testteambuild
export function addTestteam(data) {
  return request({
    url: '/monitormanage/testteam',
    method: 'post',
    data: data
  })
}

// 修改testteambuild
export function updateTestteam(data) {
  return request({
    url: '/monitormanage/testteam',
    method: 'put',
    data: data
  })
}

// 删除testteambuild
export function delTestteam(id) {
  return request({
    url: '/monitormanage/testteam/' + id,
    method: 'delete'
  })
}
